package com.kevinwu.zookeepertask.taskone;

import com.kevinwu.zookeepertask.taskone.service.UserServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 项目启动类
 */
@SpringBootApplication(scanBasePackages = "com.kevinwu")
public class ZdyRpcProviderApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(ZdyRpcProviderApplication.class, args);
        UserServiceImpl.startServer("127.0.0.1",8992,"192.168.33.19:2181");
    }

}
